﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdmTestItemManange.aspx.cs"
    Inherits="LIMS.Web.AdmTestItemManange" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div align="center">
        <table width="800" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td height="30" align="left" style="width: 20px">
                </td>
                <td height="30" align="center" style="width: 580px; font-size: 28px;">
                    <strong>实验信息管理</strong>
                </td>
            </tr>
            <tr>
                <td height="30" align="left" style="width: 20px">
                </td>
                <td height="30" align="center" style="width: 580px">
                    实验名称<asp:TextBox ID="txtProTitle" runat="server" Columns="6" MaxLength="50" Width="150px"></asp:TextBox>
                    <asp:Button ID="btnFindByTitle" runat="server" OnClick="btnFindByTitle_Click" Text="搜 索" Style="margin-left: 20px;" />
                    <asp:Button ID="btnAddPro" runat="server" OnClick="btnAddPro_Click" Text="新 增"
                        Style="margin-left: 90px;" />
                </td>
            </tr>
            <tr>
                <td height="30" colspan="2" align="left">
                    <asp:Repeater ID="rpProject" runat="server" OnItemDataBound="rpProject_OnItemDataBound">
                        <HeaderTemplate>
                            <table border="1" width="100%">
                                <tr align="center">
                                    <th>
                                        序号
                                    </th>
                                    <th>
                                        实验名称
                                    </th>
                                    <th>
                                        时间
                                    </th>
                                    <th>
                                        实验内容
                                    </th>
                                    <th>
                                        教师姓名
                                    </th>
                                </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr align="center">
                                <td>
                                    <%#Container.ItemIndex+1 %>
                                </td>
                                <td>
                                    <%#Eval("proName")%>
                                </td>
                                <td>
                                    <%#Eval("proDate", "{0:yyyy-MM-dd hh:mm:ss}")%>
                                </td>
                                <td align="left">
                                    <%# SubString(Eval("proDetail").ToString(),15)%>
                                </td>
                                <td>
                                    <%#bindTeaNameByID(Eval("proTeacherId"))%>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>
                        </FooterTemplate>
                    </asp:Repeater>
                    <br />
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CustomInfoHTML="总记录数:%RecordCount%, 总页数:%PageCount%, 当前为第 %CurrentPageIndex% 页"
                        FirstPageText="<<" LastPageText=">>" LayoutType="Div" NextPageText=">" NumericButtonCount="6"
                        PageIndexBoxType="DropDownList" PageSize="2" PrevPageText="<" ShowNavigationToolTip="true"
                        PagingButtonSpacing="6px" ShowCustomInfoSection="Right" OnPageChanged="AspNetPager1_PageChanged"
                        Font-Size="12px" HorizontalAlign="Center" Width="100%" AlwaysShow="true" CustomInfoSectionWidth="40%">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
